package org.bonorsoft.modules.control.service;

import org.bonorsoft.modules.control.entity.Hazard;
import org.bonorsoft.modules.control.entity.InfoTemplate;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 信息模板对应逻辑
 * @Author: WilliamYe
 * @Date:   2021-02-07
 * @Version: V1.0
 */
public interface IInfoTemplateService extends IService<InfoTemplate> {

    /**
     * 根据地址编码获取危险源点名称
     * @param code
     * @return
     */
    List<Hazard> getHazardNameByDzbm(String code);
}
